/**
 * 
 */
package com.myBase.core.facade.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Isolation;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.myBase.core.dao.GoldcoinOrderDao;
import com.myBase.core.entity.GoldcoinOrder;
import com.myBase.core.facade.service.GoldcoinOrderServiceFacade;
import com.myBase.common.persistence.Page;
import com.myBase.common.service.CrudAbstractService;

/**
 * 金币订单Service
 * @author gebao
 * @version 2017-05-04
 */
@Service("goldcoinOrderServiceFacade")
public class GoldcoinOrderServiceFacadeImpl extends CrudAbstractService<GoldcoinOrderDao, GoldcoinOrder>
        implements GoldcoinOrderServiceFacade {

    public GoldcoinOrder get(String id) {
        return super.get(id);
    }

    public List<GoldcoinOrder> findList(GoldcoinOrder goldcoinOrder) {
        return super.findList(goldcoinOrder);
    }

    public Page<GoldcoinOrder> findPage(Page<GoldcoinOrder> page, GoldcoinOrder goldcoinOrder) {
        return super.findPage(page, goldcoinOrder);
    }

    @Transactional(readOnly = false, propagation = Propagation.REQUIRED, isolation = Isolation.REPEATABLE_READ, rollbackFor = Exception.class)
    public void save(GoldcoinOrder goldcoinOrder) {
        super.save(goldcoinOrder);
    }

    @Transactional(readOnly = false)
    public void delete(GoldcoinOrder goldcoinOrder) {
        super.delete(goldcoinOrder);
    }

}